package com.filebackup.daemon;

import com.filebackup.cloudapi.ICloudApi;

public abstract class DaemonWorker extends Thread{
	
	protected int workerId;
	protected String workerName;
	protected ICloudApi api;
		
	protected abstract void init();
	
	public DaemonWorker(int id, String name, ICloudApi api){
		this.workerId = id;
		this.workerName = name;
		this.api = api;
		//this.setDaemon(true);
		init();
	}	
}
